<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Manage | 仪表盘</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Pace -->
    <link rel="stylesheet" href="../plugins/AdminLTE/plugins/pace-master/themes/blue/pace-theme-flash.css">
    <script type="text/javascript" src="../plugins/AdminLTE/plugins/pace-master/pace.min.js"></script>
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../plugins/AdminLTE/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../plugins/AdminLTE/dist/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../plugins/AdminLTE/dist/css/ionicons.min.css">
    <!-- Date Picker -->
    <link rel="stylesheet"
          href="../plugins/AdminLTE/plugins/datepicker/datepicker3.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../plugins/AdminLTE/dist/css/AdminLTE.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background-color: #ecf0f5 ">
<section class="content-header">
    <h1>
        仪表板
        <small>控制面板</small>
    </h1>
    <ol class="breadcrumb">
        <li><i class="fa fa-home"></i> Home</li>
        <li>仪表板</li>
    </ol>
</section>

<section class="content">
    <div class="row">
        <!-- 今日新增用户 -->
        <div class="col-xs-5 col-sm-3 col-md-3 col-lg-3">
            <div class="small-box bg-yellow">
                <div class="inner">
                    <h3 class="dashboard-tadoy-new">0</h3>
                    <p>今日新增用户</p>
                </div>
                <div class="icon">
                    <span class="ion ion-person-add"></span>
                </div>
                <a onclick="top.addTabs({id:'user-manage-panel',title: '用户管理',close: true,url: 'pages/organization/users.html',urlType: 'relative'});"
                   href="javaScript:void(0)" class="small-box-footer">更多信息<i
                        class="fa fa-arrow-circle-right"></i></a>
            </div>
        </div>
        <!-- 当前在线用户 -->
        <div class="col-xs-5 col-sm-3 col-md-3 col-lg-3">
            <div class="small-box bg-aqua">
                <div class="inner">
                    <h3 class="dashboard-oneline">0</h3>
                    <p>当前在线用户</p>
                </div>
                <div class="icon">
                    <span class="glyphicon glyphicon-user small"></span>
                </div>
                <a onclick="top.addTabs({id:'online-user-panel',title: '在线用户',close: true,url: 'pages/monitor/online-user.html',urlType: 'relative'});"
                   href="javaScript:void(0)" class="small-box-footer">更多信息<i
                        class="fa fa-arrow-circle-right"></i></a>
            </div>
        </div>
        <!-- 今日访客 -->
        <div class="col-xs-5 col-sm-3 col-md-3 col-lg-3">
            <div class="small-box bg-red">
                <div class="inner">
                    <h3 class="dashboard-tadoy-guest">0</h3>
                    <p>今日访客</p>
                </div>
                <div class="icon">
                    <span class="glyphicon glyphicon-eye-open small"></span>
                </div>
                <a onclick="top.addTabs({id:'guest-panel',title: '访客统计',close: true,url: 'pages/monitor/guest.html',urlType: 'relative'});"
                   href="javaScript:void(0)" class="small-box-footer">更多信息<i
                        class="fa fa-arrow-circle-right"></i></a>
            </div>
        </div>
        <div class="col-xs-5 col-sm-3 col-md-3 col-lg-3">
            <!-- small box -->
            <div class="small-box bg-green">
                <div class="inner">
                    <h3>16<sup style="font-size: 20px">%</sup></h3>
                    <p>系统内存使用率</p>
                </div>
                <div class="icon">
                    <span class="glyphicon glyphicon-dashboard small"></span>
                </div>
                <a onclick="top.addTabs({id:'monitor-server-panel',title: '服务器监控',close: true,url: 'monitor/server',urlType: 'relative'});"
                   href="javaScript:void(0)" class="small-box-footer">更多信息<i
                        class="fa fa-arrow-circle-right"></i></a>
            </div>
        </div>
    </div>

    <!-- Main row -->
    <div class="row">
        <!-- 左边 -->
        <section class="col-xs-12 col-sm-8 col-md-7 connectedSortable">
            <div class="box box-info">
                <div class="box-header with-border">
                    <i class="fa fa-line-chart"></i>
                    <h3 class="box-title">近7天访问量统计</h3>
                    <div class="box-tools pull-right">
                        <button onclick="countUserGuest()" type="button" class="btn btn-box-tool"><i
                                class="fa fa-refresh"></i>
                        </button>
                        <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                                class="fa fa-minus"></i>
                        </button>
                        <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i>
                        </button>
                    </div>
                </div>
                <div class="box-body">
                    <div class="chart">
                        <canvas id="lineChart" style="height: 229px;"></canvas>
                    </div>
                </div>
            </div>
        </section>
        <!-- 右边-->
        <section class=" col-xs-12 col-sm-4 col-md-5 connectedSortable">
            <div class="box box-solid bg-green-gradient">
                <div class="box-header with-border">
                    <i class="fa fa-calendar"></i>
                    <h3 class="box-title">日历</h3>
                    <div class="pull-right box-tools">
                        <button type="button" class="btn btn-success btn-sm" data-widget="collapse">
                            <i class="fa fa-minus"></i>
                        </button>
                        <button type="button" class="btn btn-success btn-sm" data-widget="remove">
                            <i class="fa fa-times"></i>
                        </button>
                    </div>
                </div>
                <div class="box-body no-padding">
                    <div id="calendar" style="width: 100%"></div>
                </div>
            </div>
        </section>
    </div>
</section>
<!-- jQuery 2.2.3 -->
<script src="../plugins/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- jQuery UI -->
<script src="../plugins/AdminLTE/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../plugins/AdminLTE/bootstrap/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="../plugins/AdminLTE/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="../plugins/AdminLTE/dist/js/app.min.js"></script>
<!-- Sparkline -->
<script src="../plugins/AdminLTE/plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- datepicker -->
<script src="../plugins/AdminLTE/plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="../plugins/AdminLTE/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<!-- SlimScroll 1.3.0 -->
<script src="../plugins/AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- ChartJS 1.0.1 -->
<script src="../plugins/AdminLTE/plugins/chartjs/Chart.min.js"></script>
<script src="../statics/js/dashboard.js"></script>
</body>
</html>
